<?php 
class RemakedateComponent extends Component {
    public function remake($ourdate) {
    	$rezult = $ourdate[6].$ourdate[7].$ourdate[8].$ourdate[9].'-'.$ourdate[3].$ourdate[4].'-'.$ourdate[0].$ourdate[1];
        return $rezult;
    }
}
?>